//首页数据
export async function getSynopsis(gradeId){
	const { data } = await (await fetch(new URL(`../jsonData/${ gradeId }.json`,import.meta.url))).json();
	return {
		title:data?.title,
		image:data?.image,
		label:data?.label,
		name:data?.name,
		isbn:data?.isbn,
		describe:data?.describe,
		publisher:data?.publisher,
		make:data?.make,
		design:data?.design,
		authorize:data?.authorize,
		responsibility:data?.responsibility,
		technology:data?.technology,
		recitation:data?.recitation,
		production:data?.production,
		publish:data?.publish,
		smallImage:data?.small_image,
		page:data?.page,
	};
}
